{% extends 'base/index.html' %}
{% block section %}
<div class="container rounded bg-white mt-1">
    <div class="row">
        <h1 class="mb-0 mt-1 border-bottom">
            赞助名单
        </h1>
        <p>在这里我非常感谢各位为本站的赞助以及认可，贴在墙上留念一下，下面名单金额由高到低依次排序。</p>
    </div>
    <div class="row py-3">
        <!-- 循环 -->
        {% if sponsordata %}
        {% for i in sponsordata %}
        <div class="col-md-6 mt-1 border-bottom">
            <a href="{{ i.url }}" target="_blank" rel="noopener noreferrer">
            <div class="avatar avatar  rounded-circle">
                <img alt="Image placeholder" src="{{ i.urlimg }}">
            </div>
            <div><span class="">{{ i.name }}</span></div>
            <div>
                <span class="">{{ i.mailbox }}</span>
            </div>
            <div>
                <span class="">赞助 {{ i.money }}
                <i class="fa-solid fa-money-bill-1-wave"></i></span>
            </div>
            </a>
        </div>
        {% endfor %}
        {% else %}
           <p>暂时还没有人呢，希望在看的你是第一位！</p>
        {% endif %}
        <!-- 结束循环 -->
    </div>
</div>
{% endblock %}
